package com.ljh.pojo;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 刘剑鸿
 * @since 2021-11-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Footthebill对象", description="")
public class Footthebill implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "埋单ID")
    @TableId(value = "footthebillid", type = IdType.AUTO)
    private Integer footthebillid;

    @ApiModelProperty(value = "操作员")
    private Integer id;

    @ApiModelProperty(value = "账单ID")
    private Integer billid;

    @ApiModelProperty(value = "客户ID")
    private Integer clientid;

    @ApiModelProperty(value = "账单总额")
    private BigDecimal zonge;

    @ApiModelProperty(value = "打折比例")
    private BigDecimal ratio;

    @ApiModelProperty(value = "实际费用")
    private BigDecimal actual;

    @ApiModelProperty(value = "收取金额")
    private BigDecimal collect;

    @TableField(fill = FieldFill.INSERT)
    private Date footbilltime;

    private Integer switchv;

    private Integer switchb;

    private String billnumber;
    private Integer memberid;


}
